<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>tEd</title>
		
		<!-- 
		<link href="styles.css" rel="stylesheet" type="text/css" title="tEd Styles" />
		<link href="ui.all.css" rel="stylesheet" type="text/css" title="" />	
		-->
	
		
		<link id="woo" href="styles2.css" rel="stylesheet" type="text/css" title="Styles 2" />
		<link href="styles3.css" rel="stylesheet" type="text/css" title="" />
	</head>
	<body>
		
		<h1>dont use ted her ebecaus it'll overwrite it , or mgiht do :S</h1>
		<p>tEd var is set anyway so it wont load</p>#
		<script>tEd = "taken thsi var so it wont load";</script>
		
<a href="javascript:var%20scr=document.createElement('script');scr.setAttribute('src','ted.js');document.body.appendChild(scr);void(0);">
	Bookmarklet (dont click)
</a><Br><Br><Br><Br>
		
<div id="container">

<div class="redbox">.redbox</div>
<div class="bluebox">.bluebox</div>
<div class="rule1">.rule1</div>
<div><a href="#test">Testing</a>  Testing</div>
<!-- a comment -->


</div>
		<div id="testhtmlsyntaxhi"></div>
		
		
		
		

	<!--
	
	
	
	<script type="text/javascript" src="ted.js"></script>  
	-->

	
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br>
	<Br><pre>


todo:
---------
select all and delete the main div is removed
window.getSelection()

Highlight it
	- on replace just need to make sure it only replaces stuff inside braces { }    !!!!!!!!
	- some stuff is replaced loads of times  = lots of spans within one another,
	  so need to make sure it doesnt replkace any thing inside a &lt;span class='tEdValue'&gt; or something
	 
	- ON SEARCH, ADD A TAG AFTER IT OR SOMETHING PERHAPS TO MAKE EACH UNIQUE, THEN REPLACE ONE AT A TIME 
	 goto line ctrl+g
		
		dragging a file in makes the file name popup - make it possible to add iamges, scripts, css files this way....
		
				
		exec command http://www.mozilla.org/editor/midas-spec.html		
		


		auto completions of a html tag - the finish of it
		find replace function!

		
		vague idea list of ideas i shouldn't do:
		highlight on the page whats highlighted in the html window, and vica versa
		save window position as cookie - need to learn howto do that anyway
		script editor window
		
		http://starkravingfinkle.org/blog/wp-content/uploads/2007/07/contenteditable.htm
		
		html formatting with wordwrap
		http://blog.macromates.com/2006/wrapping-text-with-regular-expressions/
		(.{1,80})( +|$\n?)|(.{1,80})	
		
		/need to mave carat
		http://groups.google.com/group/mozilla.dev.mdc/browse_thread/thread/2e62c19f16694dfb
		container		
		
		word-wrap:break-word; - gona break line numberring tho!!!!!!!!			
		
		
		to be able to save css to a live site - have a little tag that the server gnerates perhaps of its location, 
		and have a place to enter it...- to change the path manually e..g just a prompt box
		
	
		save which file loaded into css, and put its name somewhere!! ,pehraps in title
		tEd Html - file.htm
		
		put full css path name in title aread tEd Css - c:\name.css
		
		styles dont get removed
		position isn't saved
		html things liek &copy; do not come out          - would be ncie to have an insert symbol thing
		
				
		view image on hover url in html and css (plus dimensions)
		make colour clicks a double click
		fix clicking colour twice
 
 
		some kind of meta tag that it can pick up and adjust the local page accordingly]# 
		spell check on/off 
		How does mailchimp do find?

				
		
		copying all of text copies the contenteditible too! wtf!!
		
		.masterpage support, will need an iframe that links to it so tEd Can stay open when it refreshes
		
		@import??		
		make a backup of the files opened	
		make tab key do a tab 
		
//http://www.rbredlau.com/drupal/node/7
//events on when loose focus or somethign changes! e.g. attempt to update styling on a change



	</pre>
	
	
		</body>

</html>
